package ldh.im.fxbase.data.ui;

import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

public class ImSessionUiData {

    private IntegerProperty hotMessageNumProperty = new SimpleIntegerProperty(0);
    private StringProperty nameProperty = new SimpleStringProperty("");
    private StringProperty tipProperty = new SimpleStringProperty("");
    private StringProperty lastedProperty = new SimpleStringProperty("");

    public ImSessionUiData(){}

    public int getHotMessageNumProperty() {
        return hotMessageNumProperty.get();
    }

    public IntegerProperty hotMessageNumPropertyProperty() {
        return hotMessageNumProperty;
    }

    public void setHotMessageNumProperty(int hotMessageNumProperty) {
        this.hotMessageNumProperty.set(hotMessageNumProperty);
    }

    public String getNameProperty() {
        return nameProperty.get();
    }

    public StringProperty namePropertyProperty() {
        return nameProperty;
    }

    public void setNameProperty(String nameProperty) {
        this.nameProperty.set(nameProperty);
    }

    public String getTipProperty() {
        return tipProperty.get();
    }

    public StringProperty tipPropertyProperty() {
        return tipProperty;
    }

    public void setTipProperty(String tipProperty) {
        this.tipProperty.set(tipProperty);
    }

    public String getLastedProperty() {
        return lastedProperty.get();
    }

    public StringProperty lastedPropertyProperty() {
        return lastedProperty;
    }

    public void setLastedProperty(String lastedProperty) {
        this.lastedProperty.set(lastedProperty);
    }
}
